﻿$(windowResize)
$(function () { setTimeout("RunFlip()", 500); })

$(function () {

    var width = $(window).width();
    if (width < 1000) {
        alert("您的屏幕分辨率太小");
    }
    $("body").css("-moz-background-size", "100% " + $(document).height() + "px ");
    $("body").css("background-size", "100% " + $(document).height() + "px ");

})

$(window).resize(function () {
    windowResize();
});

function windowResize() {
    $("body").css("-moz-background-size", "100% " + $(document).height() + "px ");
    $("body").css("background-size", "100% " + $(document).height() + "px ");
}